﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WorkBillInfoDetail.aspx.cs"
    Inherits="AMS.Web.AssetQuery.WorkBillInfoDetail" %>

<%@ Register Assembly="VitCode.Web.UI.PaginationGrid" Namespace="VitCode.Web.UI"
    TagPrefix="PaginationGrid" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>单据明细信息</title>
    <meta http-equiv="Cache-Control" content="no-cache,must-revalidate" />
    <meta http-equiv="Expires" content="0" />
    <link type="text/css" rel="stylesheet" href="../ScriptFiles/CSS/style.css" />
   <link href="../ScriptFiles/CSS/Main.css" type="text/css" rel="stylesheet" />
    <script language="javascript" type="text/javascript" src="../../Scripts/script.js"></script>

    <script language="javascript" type="text/javascript">
        function changeV(objID) {
            if (document.all("tb_" + objID).style.display == "block") {
                document.all("img_" + objID).src = "../Images/ico_have2.gif";
                document.all("tb_" + objID).style.display = "none"
            }
            else {
                document.all("img_" + objID).src = "../Images/ico_nohave2.gif";
                document.all("tb_" + objID).style.display = "block"
            }
        }
   
    </script>
  <base target="_self" />
</head>
<body id="itemdetail">
<form runat="server">
     
        <table style="border: 1px solid #A8CFEB; background-color: #F1F6FF; margin-top: 4px; margin-left:5px;
            width: 100%">
            <tr>
                <td colspan="2">
                    <center>
                      <asp:Button Text="关  闭" ID="btnCancel" class="btn_mouseout" onmouseover="this.className= 'btn_mouseover ' "
                        onmouseout="this.className= 'btn_mouseout ' " onmousedown="this.className= 'btn_mousedown '"
                        onmouseup="this.className= 'btn_mouseup '" runat="server" 
                        onclick="btnCancel_Click" />
                    </center>
                </td>
               
            </tr>
        </table>
       
        <div id="content">
            <h2>
                <img src="../Images/ico_nohave2.gif" alt="" id="img_1" /><a href="javascript:changeV('1')">单据头</a></h2>
            <table width="100%" cellpadding="0" cellspacing="1" border="1" id="tb_1" style="display: block;border-collapse:collapse" class="formitem2">
                
                <tr>
                    <th>
                        单据编号：
                    </th>
                    <td width="35%">
                        <asp:Label ID="labelCode" runat="server"></asp:Label>
                    </td>
                    <th>
                        单据主题：
                    </th>
                    <td width="35%">
                        <asp:Label ID="labelTheme" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <th>
                        单据类型：
                    </th>
                    <td>
                        <asp:Label ID="labelTypeName" runat="server"></asp:Label>
                    </td>
                    <th>
                        制单日期：
                    </th>
                    <td>
                        <asp:Label ID="labelCreateDate" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <th>
                        制单人：
                    </th>
                    <td>
                        <asp:Label ID="labelSender" runat="server"></asp:Label>
                    </td>
                </tr>
            </table>
            <h2>
                <img src="../Images/ico_nohave2.gif" alt="" id="img_3" /><a href="javascript:changeV('3')">单据体</a></h2>
   <table width="100%" cellpadding="0" cellspacing="1" border="1" id="tb_3" style="display: block;border-collapse:collapse" class="formitem2">
        <tr>
            <td>
                <PaginationGrid:PaginationGrid ID="pgList" runat="server" ShowIDColumn="false"    AutoSort="True">
                </PaginationGrid:PaginationGrid>
            </td>
        </tr>
    </table>
        </div>
  </form>
</body>
</html>
